package 期末复习;

public class Circle {

    double r;
    public void area(){
        double pai = 3.14;
        int r =10;
        double s = pai * r * r;

        System.out.println("面积为:" + s);
    }
}
